﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XML_Programming_Assignment_Thandar_.Class
{
    class RFQ_ItemDetail : RFQ
    {
        private int rfqid;
        private string itemid;
        private int quantity;
        private double askingprice;

        public RFQ_ItemDetail()
        {
            rfqid = 0;
            itemid = "";
            quantity = 0;
            askingprice = 0.0;
        }

        public RFQ_ItemDetail(int rfq_id, string item_id, int quantity, double askingprice)
        {
            this.rfqid = rfq_id;
            this.itemid = item_id;
            this.quantity = quantity;
            this.askingprice = askingprice;
        }

        public RFQ_ItemDetail(string item_id, int quantity, double askingprice)
        {
            this.itemid = item_id;
            this.quantity = quantity;
            this.askingprice = askingprice;
        }

        public int RFQID
        {
            get { return rfqid; }
            set { rfqid = value; }
        }

        public string ItemID
        {
            get { return itemid; }
            set { itemid = value; }
        }

        public int Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }

        public double AskingPrice
        {
            get { return askingprice; }
            set { askingprice = value; }
        }
    }
}
